package cn.jly.mp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lanyangji
 */
@RestController
@SpringBootApplication
public class MybatisPlusSpringBootStarterApplication {

	public static void main(String[] args) {
		SpringApplication.run(MybatisPlusSpringBootStarterApplication.class, args);
	}

	@GetMapping("/hello")
	public String greet(String name) {
		return "hello, " + name;
	}
}
